package evaluator

import (
	"z-lang/object"
)

// 内置函数map映射
var builtins = map[string]*object.Builtin{
	"len":    object.GetBuiltinByName("len"),    // 目前支持 string array hash tuple
	"first":  object.GetBuiltinByName("first"),  // 目前支持 string array tuple
	"last":   object.GetBuiltinByName("last"),   // 目前支持 string array tuple
	"rest":   object.GetBuiltinByName("rest"),   // 目前支持 array
	"append": object.GetBuiltinByName("append"), // 目前支持 array hash
	"print":  object.GetBuiltinByName("print"),
}
